package mvc;

import java.util.List;

import javax.sql.DataSource;

//数据访问对象接口文件
public interface DepartmentDAO {
	// 初始化数据库连接
		public void setDataSource(DataSource ds);
		// 部门列表
		public List<Department> listDepartments();
		// 添加部门
		public void create(Integer id,String name,String type,String telephone,String fax,String description,String predepartment,String date);
}
